
# shutdown redis-sentinel
/opt/redis-6.2.4/bin/redis-cli -p 26379 shutdown

/opt/redis-6.2.4/bin/redis-cli -p 26380 shutdown

/opt/redis-6.2.4/bin/redis-cli -p 26381 shutdown


# shutdown redis-server
/opt/redis-6.2.4/bin/redis-cli -p 6379 shutdown

/opt/redis-6.2.4/bin/redis-cli -p 6380 shutdown

/opt/redis-6.2.4/bin/redis-cli -p 6381 shutdown


sleep 3


ps -ef|grep -v grep|grep redis-sentinel

ps -ef|grep -v grep|grep redis-server
